package com.campus.mapper;

import com.campus.pojo.entity.Lab;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LabMapper {
    
    /**
     * 查询所有实验室
     *
     * @return 实验室列表
     */
    @Select("SELECT * FROM lab")
    List<Lab> getAll();
}
